package com.quad.innovators.salesease.mapper.base;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quad.innovators.salesease.model.entity.base.Warehouse;
import com.quad.innovators.salesease.model.query.base.WarehousePageQuery;
import com.quad.innovators.salesease.model.vo.base.WarehouseVO;
import org.apache.ibatis.annotations.Param;

public interface WarehouseMapper extends BaseMapper<Warehouse> {


    Page<WarehouseVO> listPaged(Page<WarehouseVO> page, @Param("queryParams") WarehousePageQuery queryParam);

    Warehouse selectByCode(@Param("code") String code);
}